package com.zwy.springinner.event;

import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.TimeUnit;

@Slf4j
public class RefoundEvent extends AbstractEvent {

    public RefoundEvent(Object source) {
        super(source);
    }

    @Override
    public void execute() throws InterruptedException {
        TimeUnit.SECONDS.sleep(5);
        log.info("退款");
    }
}
